.class Lrexsee/core/animation/RexseeTransition$3$1;
.super Ljava/lang/Object;
.source "RexseeTransition.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/core/animation/RexseeTransition$3;->run(Lrexsee/core/browser/Browser;Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lrexsee/core/animation/RexseeTransition$3;


# direct methods
.method constructor <init>(Lrexsee/core/animation/RexseeTransition$3;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/core/animation/RexseeTransition$3$1;->this$1:Lrexsee/core/animation/RexseeTransition$3;

    .line 95
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 9

    .prologue
    const/4 v7, 0x1

    .line 98
    iget-object v5, p0, Lrexsee/core/animation/RexseeTransition$3$1;->this$1:Lrexsee/core/animation/RexseeTransition$3;

    # getter for: Lrexsee/core/animation/RexseeTransition$3;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v5}, Lrexsee/core/animation/RexseeTransition$3;->access$1(Lrexsee/core/animation/RexseeTransition$3;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v5

    invoke-virtual {v5}, Lrexsee/core/animation/RexseeTransition;->hide()V

    .line 99
    iget-object v5, p0, Lrexsee/core/animation/RexseeTransition$3$1;->this$1:Lrexsee/core/animation/RexseeTransition$3;

    # getter for: Lrexsee/core/animation/RexseeTransition$3;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v5}, Lrexsee/core/animation/RexseeTransition$3;->access$1(Lrexsee/core/animation/RexseeTransition$3;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v5

    # getter for: Lrexsee/core/animation/RexseeTransition;->mStyleSheet:Lrexsee/core/animation/AnimationStyleSheet;
    invoke-static {v5}, Lrexsee/core/animation/RexseeTransition;->access$1(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/animation/AnimationStyleSheet;

    move-result-object v5

    if-nez v5, :cond_0

    .line 123
    :goto_0
    return-void

    .line 101
    :cond_0
    :try_start_0
    iget-object v5, p0, Lrexsee/core/animation/RexseeTransition$3$1;->this$1:Lrexsee/core/animation/RexseeTransition$3;

    # getter for: Lrexsee/core/animation/RexseeTransition$3;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v5}, Lrexsee/core/animation/RexseeTransition$3;->access$1(Lrexsee/core/animation/RexseeTransition$3;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v5

    # invokes: Lrexsee/core/animation/RexseeTransition;->getPageDiv()Lrexsee/core/widget/Div;
    invoke-static {v5}, Lrexsee/core/animation/RexseeTransition;->access$4(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/widget/Div;

    move-result-object v4

    .line 102
    .local v4, "mDiv":Lrexsee/core/widget/Div;
    if-nez v4, :cond_1

    .line 103
    iget-object v5, p0, Lrexsee/core/animation/RexseeTransition$3$1;->this$1:Lrexsee/core/animation/RexseeTransition$3;

    const/4 v6, 0x1

    invoke-static {v5, v6}, Lrexsee/core/animation/RexseeTransition$3;->access$0(Lrexsee/core/animation/RexseeTransition$3;Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 119
    .end local v4    # "mDiv":Lrexsee/core/widget/Div;
    :catch_0
    move-exception v5

    move-object v3, v5

    .line 120
    .local v3, "e":Ljava/lang/Exception;
    iget-object v5, p0, Lrexsee/core/animation/RexseeTransition$3$1;->this$1:Lrexsee/core/animation/RexseeTransition$3;

    invoke-static {v5, v7}, Lrexsee/core/animation/RexseeTransition$3;->access$0(Lrexsee/core/animation/RexseeTransition$3;Z)V

    .line 121
    iget-object v5, p0, Lrexsee/core/animation/RexseeTransition$3$1;->this$1:Lrexsee/core/animation/RexseeTransition$3;

    # getter for: Lrexsee/core/animation/RexseeTransition$3;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v5}, Lrexsee/core/animation/RexseeTransition$3;->access$1(Lrexsee/core/animation/RexseeTransition$3;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v5

    # getter for: Lrexsee/core/animation/RexseeTransition;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v5}, Lrexsee/core/animation/RexseeTransition;->access$3(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/browser/Browser;

    move-result-object v5

    iget-object v6, p0, Lrexsee/core/animation/RexseeTransition$3$1;->this$1:Lrexsee/core/animation/RexseeTransition$3;

    # getter for: Lrexsee/core/animation/RexseeTransition$3;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v6}, Lrexsee/core/animation/RexseeTransition$3;->access$1(Lrexsee/core/animation/RexseeTransition$3;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v6

    invoke-virtual {v6}, Lrexsee/core/animation/RexseeTransition;->getInterfaceName()Ljava/lang/String;

    move-result-object v6

    new-instance v7, Ljava/lang/StringBuilder;

    const-string v8, "Page start error: "

    invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3}, Ljava/lang/Exception;->getLocalizedMessage()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v5, v6, v7}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 106
    .end local v3    # "e":Ljava/lang/Exception;
    .restart local v4    # "mDiv":Lrexsee/core/widget/Div;
    :cond_1
    :try_start_1
    iget-object v5, p0, Lrexsee/core/animation/RexseeTransition$3$1;->this$1:Lrexsee/core/animation/RexseeTransition$3;

    # getter for: Lrexsee/core/animation/RexseeTransition$3;->this$0:Lrexsee/core/animation/RexseeTransition;
    invoke-static {v5}, Lrexsee/core/animation/RexseeTransition$3;->access$1(Lrexsee/core/animation/RexseeTransition$3;)Lrexsee/core/animation/RexseeTransition;

    move-result-object v5

    # getter for: Lrexsee/core/animation/RexseeTransition;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v5}, Lrexsee/core/animation/RexseeTransition;->access$3(Lrexsee/core/animation/RexseeTransition;)Lrexsee/core/browser/Browser;

    move-result-object v5

    invoke-static {v5, v4}, Lrexsee/core/utilities/Utilities;->getBitmap(Lrexsee/core/browser/Browser;Lrexsee/core/widget/Div;)Landroid/graphics/Bitmap;

    move-result-object v0

    .line 107
    .local v0, "bitmap":Landroid/graphics/Bitmap;
    if-nez v0, :cond_2

    .line 108
    iget-object v5, p0, Lrexsee/core/animation/RexseeTransition$3$1;->this$1:Lrexsee/core/animation/RexseeTransition$3;

    const/4 v6, 0x1

    invoke-static {v5, v6}, Lrexsee/core/animation/RexseeTransition$3;->access$0(Lrexsee/core/animation/RexseeTransition$3;Z)V

    goto :goto_0

    .line 112
    :cond_2
    new-instance v2, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v2, v0}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/graphics/Bitmap;)V

    .line 113
    .local v2, "drawable":Landroid/graphics/drawable/BitmapDrawable;
    iget-object v1, v4, Lrexsee/core/widget/Div;->coverLayout:Landroid/widget/FrameLayout;

    .line 114
    .local v1, "cover":Landroid/widget/FrameLayout;
    invoke-virtual {v1}, Landroid/widget/FrameLayout;->clearAnimation()V

    .line 115
    invoke-virtual {v1}, Landroid/widget/FrameLayout;->removeAllViews()V

    .line 116
    invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 117
    const/4 v5, 0x0

    invoke-virtual {v1, v5}, Landroid/widget/FrameLayout;->setVisibility(I)V

    .line 118
    iget-object v5, p0, Lrexsee/core/animation/RexseeTransition$3$1;->this$1:Lrexsee/core/animation/RexseeTransition$3;

    const/4 v6, 0x1

    invoke-static {v5, v6}, Lrexsee/core/animation/RexseeTransition$3;->access$0(Lrexsee/core/animation/RexseeTransition$3;Z)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0
.end method
